package com.dkm.biz.gl.persistence.dao.impl;

import org.springframework.stereotype.Repository;

import com.dkm.base.db.mybatis.dao.MyBatisDaoImpl;
import com.dkm.biz.gl.persistence.dao.EavValueIntDao;
import com.dkm.biz.gl.persistence.entity.EavValueIntPo;

/**
 * 对象功能:属性值 Dao接口的实现类
 * 开发公司:SKG.COM
 * 开发人员:Yuki
 * 创建时间:2014-12-19 10:20:53
 */
@Repository
public class EavValueIntDaoImpl extends MyBatisDaoImpl<String, EavValueIntPo> implements EavValueIntDao{

    /**
	 * 
	 */
	private static final long serialVersionUID = 4912595020096683521L;

	@Override
    public String getNamespace() {
        return EavValueIntPo.class.getName();
    }

	@Override
	public void updateByEntityIdAndKey(String entityId, String attrKey,
			String attrValue) {
		this.updateByKey("updateByEntityIdAndKey", b().a("attrKey", attrKey).a("entityId", entityId).a("attrValue", attrValue).p());
		
	}
	
}
